define([
	'../index',
    'text!./index.html',
    'css!./index.css'
], function(ohcard, html) {
    return {
        props: {
			show: {
				type: Boolean,
				default: false,
			},
			title: {
				type: String,
				default: '',
			},
			content: {
				type: String,
				default: '',
			},
        },
	    mounted:function(){
			this.ohcard.setExplainShow(this.show);
	    },
	    methods: {
	    },
        data: function () {
			return {
				ohcard: ohcard,
			};
        },
        template: html
    };
});